#!/usr/bin/php
<?php

$xml = new SimpleXMLElement($argv[1],null,true);
foreach ($xml->children() as $habitacion){
    echo $habitacion['id']."\n";
}
?>
